- 
		Home
	
 
	- 
Pronamic Pay
 
- 
9.17.2 (latest)
 
- 
Code
 
- 
Classes
 
-  Number 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											42 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											16 | 
										
																	
							 
													
								
																			
											| Total lines | 
											478 | 
										
																			
											| Lines of code | 
											156 | 
										
																			
											| Logical lines of code | 
											67 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											261 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| parse_mixed() | 
									S  | 
																	56 | 
													5 | 
													20 | 
							
					
				| initialize_calculator() | 
									S  | 
																	62 | 
													4 | 
													12 | 
							
					
				| parse_float_with_precision() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| parse_int() | 
									S  | 
																	63 | 
													2 | 
													11 | 
							
					
				| parse_float() | 
									S  | 
																	62 | 
													2 | 
													11 | 
							
					
				| parse_string() | 
									S  | 
																	64 | 
													2 | 
													11 | 
							
					
				| get_calculator() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| from_mixed() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| normalize() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| format_i18n() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| format() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_value() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_value() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| add() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| subtract() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| multiply() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| divide() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| absolute() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| is_zero() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| negative() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| jsonSerialize() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| to_int() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| __toString() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| from_int() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| from_float() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| from_string() | 
									S  | 
																	79 | 
													1 | 
													3 |